<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>任务列表</title>
</head>
<body>
<center>
<h3>任务列表</h3>
<s:iterator value="#ut.datas">
	任务名：${taskname }<br>
	任务内容：${context }<br>
	任务创建日期：${createDate }<br>
	任务提交日期：${lastDate }<br>
	是否完成：<s:if test="%{isFinish==true}">是
	<a href="user_taskwait.action?tid=${tid}&uid=${uid}">设置为等待</a>
	</s:if><s:else>否
	<a href="user_taskfinish.action?tid=${tid}&uid=${uid}">设置为完成</a>
	</s:else>
	
	<br/>
</s:iterator>

<jsp:include page="/inc/pager.jsp">
	<jsp:param value="user_tasklist.action?uid=${uid}" name="url"/>
	<jsp:param value="${ut.totalRecord }" name="items"/>
</jsp:include>
</center>
</body>
</html>